Answering SPARQL queries modulo RDF Schema with paths

نویسندگان

  • Faisal Alkhateeb
  • Jérôme Euzenat
چکیده

SPARQL is the standard query language for RDF graphs. In its strict instantiation, it only offers querying according to the RDF semantics and would thus ignore the semantics of data expressed with respect to (RDF) schemas or (OWL) ontologies. Several extensions to SPARQL have been proposed to query RDF data modulo RDFS, i.e., interpreting the query with RDFS semantics and/or considering external ontologies. We introduce a general framework which allows for expressing query answering modulo a particular semantics in an homogeneous way. In this paper, we discuss extensions of SPARQL that use regular expressions to navigate RDF graphs and may be used to answer queries considering RDFS semantics. We also consider their embedding as extensions of SPARQL. These SPARQL extensions are interpreted within the proposed framework and their drawbacks are presented. In particular, we show that the PSPARQL query language, a strict extension of SPARQL offering transitive closure, allows for answering SPARQL queries modulo RDFS graphs with the same complexity as SPARQL through a simple transformation of the queries. We also consider languages which, in addition to paths, provide constraints. In particular, we present and compare nSPARQL and our proposal CPSPARQL. We show that CPSPARQL is expressive enough to answer full SPARQL queries modulo RDFS. Finally, we compare the expressiveness and complexity of both nSPARQL and the corresponding fragment of CPSPARQL, that we call cpSPARQL. We show that both languages have the same complexity through cpSPARQL, being a proper extension of SPARQL graph patterns, is more expressive than nSPARQL. Semantic web – Query language – Query modulo schema – Resource Description Framework (RDF) – RDF Schema – SPARQL – Regular expression – Constrained regular expression – Path – PSPARQL – NSPARQL – nSPARQL – CPSPARQL – cpSPARQL. This research report sums up our knowledge about the various ways to query RDF graph modulo RDFS, providing improvements on all the existing proposals. Part of it will be published as [6]. Mots-clés : Web Sémantique – langage de requêtes – RDF – RDFS – SPARQL – expressions régulières – expressions régulières avec contraintes – Chemin-PSPARQL-NSPARQL-nSPARQL-CPSPARQL-cpSPARQL.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Constrained regular expressions for answering RDF-path queries modulo RDFS

The standard SPARQL query language is currently defined for querying RDF graphs without RDFS semantics. Several extensions to SPARQL have been proposed to query RDF graphs considering RDFS semantics. In this paper, we discuss extensions of SPARQL that uses regular expressions to navigate RDF graphs and may be used to answer queries considering RDFS semantics. In particular, we present and compa...

متن کامل

Schema-Agnostic Query Rewriting for OWL QL

Ontology-based query answering (OBQA) has long been an important topic in applied and foundational research, and in particular in the area of description logics (DLs). Query answering has been studied for every major DL, but the most prominent use of DLs in query answering is based on the DLs of the DL-Lite family. In particular, these have widely been used in ontology-based data access (OBDA),...

متن کامل

Optimizing Reformulation-based Query Answering in RDF

Reformulation-based query answering is a query processing technique aiming at answering queries under constraints. It consists of reformulating the query based on the constraints, so that evaluating the reformulated query directly against the data (i.e., without considering any more the constraints) produces the correct answer set. In this paper, we consider optimizing reformulation-based query...

متن کامل

Schema-Agnostic Query Rewriting in SPARQL 1.1

SPARQL 1.1 supports the use of ontologies to enrich query results with logical entailments, and OWL 2 provides a dedicated fragment OWL QL for this purpose. Typical implementations use the OWL QL schema to rewrite a conjunctive query into an equivalent set of queries, to be answered against the non-schema part of the data. With the adoption of the recent SPARQL 1.1 standard, however, RDF databa...

متن کامل

Response letter of the first round of the review

The standard SPARQL query language is currently defined for querying RDF graphs without RDFS semantics. Sev-eral extensions to SPARQL have been proposed to query RDF graphs considering RDFS semantics. In this paper, we discussextensions of SPARQL that uses regular expressions to navigate RDF graphs and may be used to answer queries consideringRDFS semantics. In particular, we presen...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • CoRR

دوره abs/1311.3879  شماره 

صفحات  -

تاریخ انتشار 2013